package com.tyut.musicdreamer.service.music;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 音乐服务启动类
 */
@SpringBootApplication
@MapperScan("com.tyut.musicdreamer.service.music.mapper")
@EnableScheduling
@EnableDiscoveryClient
@Slf4j
public class MusicServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(MusicServiceApplication.class, args);
    }
} 